<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitionnal//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@
page import="xjj.User"
 %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

</head>
<body>
<%
User user = new User();
user.setUsername(request.getParameter("username"));
user.setPassword(request.getParameter("password"));

String password=user.getPassword();
String username=user.getUsername();

System.out.println("1111");

out.println("2222");
%>
<%
user.getUsername();
%>
</body>
</html>